﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FlightDetail.ascx.cs" Inherits="Module_FlightDetail" %>
<table id="tblFlightDetail">
    <tr>
        <td>
        
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:TemplateField HeaderText="Khởi hành">
                        <ItemTemplate>
                            <%#(string)DataBinder.Eval(Container, "DataItem.departure") %><br />
                            <%#(string)DataBinder.Eval(Container, "DataItem.startTime") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Đến">
                        <ItemTemplate>
                            <%#(string)DataBinder.Eval(Container, "DataItem.arrival") %><br />
                            <%#(string)DataBinder.Eval(Container, "DataItem.endTime") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Chuyến bay">
                        <ItemTemplate>
                            <%#(int)DataBinder.Eval(Container, "DataItem.flightID") %><br />
                            <%#(string)DataBinder.Eval(Container, "DataItem.planeName") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Hạng thương gia">
                        <ItemTemplate>
                            <asp:RadioButton ID="RadioButton2" runat="server" GroupName="gChon" 
                                oncheckedchanged="RadioButton2_CheckedChanged" AutoPostBack="True"  />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Hạng phổ thông">
                        <ItemTemplate>
                            <asp:RadioButton ID="RadioButton1" runat="server" GroupName="gChon" 
                                AutoPostBack="True" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        
        </td>
    </tr>
    <tr>
        <td>
            
            <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False">
                <Columns>
                    <asp:TemplateField HeaderText="Khởi hành">
                        <ItemTemplate>
                            <%#(string)DataBinder.Eval(Container, "DataItem.departure") %><br />
                            <%#(string)DataBinder.Eval(Container, "DataItem.startTime") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Đến">
                        <ItemTemplate>
                            <%#(string)DataBinder.Eval(Container, "DataItemarrival") %><br />
                            <%#(string)DataBinder.Eval(Container, "DataItem.endTime") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Chuyến bay">
                        <ItemTemplate>
                            <%#(int)DataBinder.Eval(Container, "DataItem.flightID") %><br />
                            <%#(string)DataBinder.Eval(Container, "DataItem.planeName") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Hạng thương gia">
                        <ItemTemplate>
                            <asp:RadioButton ID="RadioButton3" runat="server" GroupName="gChonVe" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Hạng phổ thông">
                        <ItemTemplate>
                            <asp:RadioButton ID="RadioButton4" runat="server" GroupName="gChonVe" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            
        </td>
    </tr>
    <tr>
        <td id="tdButtom">
            
            <asp:Button ID="btnNext" runat="server" onclick="btnNext_Click" 
                Text="Tiếp tục" />
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            
        </td>
    </tr>
</table>